﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Error.aspx.cs" Inherits="Error"
    ViewStateMode="Disabled" %>

<!DOCTYPE HTML>
<html>
<head runat="server">
    <title>Error</title>
    <link href="CSS/style1.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="everything">
        <div id="header">
            <div class="title">
                <h1>
                    Error!
                    <br />
                </h1>
            </div>
            <div id="login" style="width: 250px; float: right">
                <br />
                <asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <asp:Login ID="Login1" runat="server" CreateUserText="Register" CreateUserUrl="~/Registration.aspx"
                            PasswordRecoveryText="Forgotten password?" PasswordRecoveryUrl="~/RecoverPassword.aspx"
                            OnLoggedIn="Login1_LoggedIn">
                            <TextBoxStyle Width="150px" />
                        </asp:Login>
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        <br />
                        Logged in as:&nbsp;
                        <asp:LoginName ID="LoginName1" runat="server" />
                        <asp:LoginStatus ID="LoginStatus1" runat="server" ForeColor="White" />
                        <br />
                        <asp:HyperLink ID="hlEditProfile" runat="server">Edit profile</asp:HyperLink>
                    </LoggedInTemplate>
                </asp:LoginView>
            </div>
        </div>
        <div id="middle">
            <div id="left_column">
                <br />
                <br />
                <div id="navigation">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Main.aspx">Main page</asp:HyperLink>
                    <asp:Panel ID="pnlAdministartion" runat="server" Visible="false">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Admin/UserManagement.aspx">Manage users</asp:HyperLink>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Admin/AddNewsItem.aspx">Post new article</asp:HyperLink>
                    </asp:Panel>
                    <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/About.aspx">What is this place?</asp:HyperLink>
                    <asp:HyperLink ID="hlEnglish" runat="server">Articles in English</asp:HyperLink>
                    <asp:HyperLink ID="hlBulgarian" runat="server">Статии на български</asp:HyperLink>
                </div>
            </div>
            <div id="middle_column" class="two_column">
                <br />
                <br />
                <asp:Label ID="lbErrorMessage" runat="server" ForeColor="Red"></asp:Label>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
